package lab02.test06;

public class Test06 {
    public static void main(String[] args) {
        //求三角形；
        Triangle t1 = new Triangle(3,4,5);
        t1.perimeter();
        t1.area();
        //梯形；
        Ladder l1 = new Ladder(5,10,5);
        l1.area();
        //圆；
        Circle c1 = new Circle(2.1);
        c1.setPerimeter();
        c1.area();
    }
}